package com.his.his_system.mapper;

import com.his.his_system.domain.DzmHisCarePkg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.his.his_system.domain.MonthlyStatistics;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
* @author 覃圣礼
* @description 针对表【dzm_his_care_pkg(收费总表)】的数据库操作Mapper
* @createDate 2023-07-06 08:47:53
* @Entity com.his.his_system.domain.DzmHisCarePkg
*/
public interface DzmHisCarePkgMapper extends BaseMapper<DzmHisCarePkg> {

      /**
       * 获取患者信息
       * @return
       */
      List<DzmHisCarePkg> getInfo();


      /**
       * 查询
       */
      List<DzmHisCarePkg> queryInfo(
              @Param("chargetype") String chargetype,
              @Param("chargestatus") String chargestatus,
              @Param("startDate") String startDate,
              @Param("endDate") String endDate);


      /**
       *  年月报表统计
       * @return
       */

      List<DzmHisCarePkg> getMonthlyReport();


      /**
       * 获取某年每个月的支付信息
       */
      List<MonthlyStatistics> annualStatistics(@Param("year") String year);


}




